@import "common.less";

html,body{
  width:100%;
  height:100%;
  font: 14px Arial, Helvetica, sans-serif;
  .m(0);
  .p(0);
  .b(@bodyBg);
  overflow: hidden;
}
ul,li{
  .m(0);
  .p(0);
}
li{
  list-style:none;
}
/*input清空按钮兼容IE11都改为pointer*/
.ivu-input-wrapper:hover {
  .ivu-input-icon-clear {
    cursor: pointer;
  }
}
/*tooptip兼容IE11换行*/
.ivu-tooltip-content {
  white-space: normal;
  word-break: break-all;
  .ivu-tooltip-inner {
    white-space: normal;
    word-break: break-all;
  }
}

/*使头像居中*/
.ivu-avatar-string{
  top: 1px;
  //left:calc(50% - 5px) !important;
}
//悬浮框样式
.tooltips {
  background: rgb(88,94,107) !important;
}
.transferTool{
  z-index: 3000 !important;
}
.searchInputPulldown{
  width: 300px !important;
  // left: 631px !important;
}
.el-tooltip__popper[x-placement^=bottom] .popper__arrow{
  border-bottom-color: rgb(88,94,107)  !important;
}
.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after {
  border-bottom-color: rgb(88,94,107)  !important;
}

/*table样式*/
.topcheer-oss-table {
  position:relative;
  overflow: hidden;
  .w(100%);
  .h(calc(~"100% - 50px"));
  .b(#f4f8fb);
  border-radius:5px;
    &.topcheer-oss-table-without-btn{
      .h(calc(~"100% - 20px"));
      overflow: hidden;
    }
    .ivu-table-wrapper{
      .h(100%);
      border:0;
      .ivu-table-body{
        min-height:calc(~"100% - 380px");
        max-height:calc(~"100% - 80px");
        overflow:auto;
      }
      .page_footer{
        padding-left:10px;
      }
    }
}

/* content.less */
.search_wrapper {
  .w(100%);
  .h(70px)!important;
  .l-h(50px);
  .p(0 10px);
  margin-top:10px;
  box-sizing: border-box;
  form{
    .b(#f8f8f9);
    border-radius: 8px;
  }

  .ivu-col {
    .labels {
      .w(55px);
    }
    .inputs, .selects {
      .w(calc(~"100% - 55px"));
    }
  }
}
ul.btns_ul {
  .w(100%);
  .h(40px);
  .p(0 0 5px 0);
  box-sizing: border-box;
  li.btns_li {
    margin-right: 20px;
    .d-i(inline-block);
  }
}
.table_wrapper {
  .w(100%);
  .p(0 10px);
  .h(calc(~"100% - 130px"));
}

//去掉百度logo
.anchorBL {
  display: none;
}

//去掉百度版权
.BMap_cpyCtrl {
  display: none;
}
.ivu-menu-horizontal.ivu-menu-light:after{
  .b(#1B3481);
}
//.ivu-btn-primary{
//  .b(#4873FD) !important;
//  border-color:#4873FD !important;
//}
// .ivu-btn-primary{
//   .b(@commonBlue) !important;
//   border-color:@commonBlue !important;
// }
//.ivu-btn-primary:hover,.ivu-btn-primary{
//  .b(#315EBC);
//  border-color:#315EBC;
//}
.table_section_wrapper{
  .h(100%);
}
.table_section_wrapper_with_nav{
  .h(calc(~"100% - 30px"));
}
.ivu-modal-footer{
  text-align:right;
}
.demo-spin-container{
  display: inline-block;
  width: 100%;
  height: 100px;
  position: relative;
}
.common_color {
  .c(@commonBlue);
}

.ivu-page-item-active a, .ivu-page-item-active:hover a{
  color:#4d76f4!important;
}
.ivu-select-visible .ivu-select-selection{
  border-color:#4d76f4!important;
}
.ivu-select-item-selected, .ivu-select-item-selected:hover{
  color:#4d76f4!important;
}
.ivu-tooltip-inner{
  .b(#fff)!important;
  color:#515a6e!important;
}
.ivu-tooltip-arrow{
  border-top-color:#fff!important;
  border-bottom-color:#fff!important;
}

.switch_animate_on{
  animation:mymoveOn 0.3s;
  -webkit-animation:mymoveOn 0.3s;
}
@keyframes mymoveOn
{
  0% {left:0px;}
  100% {left:28px;}
}
@-webkit-keyframes mymoveOn /*Safari and Chrome*/
{
  0% {left:0px;}
  100% {left:28px;}
}
.switch_animate_off{
  animation:mymoveOff 0.3s;
  -webkit-animation:mymoveOff 0.3s;
}
@keyframes mymoveOff
{
  0% {left:28px;}
  100% {left:0px;}
}
@-webkit-keyframes mymoveOff /*Safari and Chrome*/
{
  0% {left:28px;}
  100% {left:0px;}
}

.demo-spin-icon-load{
  animation: ani-demo-spin 1s linear infinite;
}

.monaco-editor .line-numbers {
  color: #cccccc!important;
}

.monaco-editor .current-line ~ .line-numbers {
  color: #0b216f!important;
}

.ivu-message-notice-content{
  position: static !important;     // 报错信息有详细信息的时候, 弹框不居中问题
}
.ivu-message-notice-close{
  position: static !important;     // 报错信息有详细信息的时候, 弹框不居中问题
}
.ivu-message-notice-close i.ivu-icon{
  top: -1px !important;
}